package com.nmh.config;

import org.springframework.util.DigestUtils;

public class MD5 {
    public static String MD5s(String userPassword){
       userPassword= DigestUtils.md5DigestAsHex(userPassword.getBytes());
       return userPassword;
    }
}
